package com.ay201.oa.entity.doc;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**部门实体类
 * @author Administrator
 *
 */
public class Dept implements Serializable {
	/**
	 *部门编号 
	 */
	private int deptId;
	/**
	 * 部门名称
	 */
	private String deptName;
	/**
	 * 部门员工
	 */
	private Set employes =new HashSet();
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	
	public Set getEmployes() {
		return employes;
	}
	public void setEmployes(Set employes) {
		this.employes = employes;
	}
	/**
	 * 无参构造函数
	 */
	public Dept() {
		// TODO Auto-generated constructor stub
	}
	
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public Dept(int deptId, String deptName) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
	}
	public Dept(String deptName) {
		super();
		this.deptName = deptName;
	}
	
	

}
